/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package BeanManager;

import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import packageEntities.Membre;
import service.ConnexionBd;

/**
 *
 * @author gngueken
 */
public class GetMembreRecherche {
    public static List<Membre> AfficherLesMembres(HashMap paramrecherche){
         SqlSession session = ConnexionBd.getConnection();
        
         List<Membre> lm = session.selectList("packageMybatis.MembreMapper.rechercherMembre", paramrecherche);
         session.close();
         
                 
        return lm;
    }
    
}
